<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<%
	String path = request.getContextPath();
	// 获得本项目的地址(例如: http://localhost:8080/MyApp/)赋值给basePath变量 
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	// 将 "项目路径basePath" 放入pageContext中，待以后用EL表达式读出。 
	pageContext.setAttribute("basePath", basePath);
	//out.write(basePath);
%>

<link href="<%=basePath%>bootstrap/css/bootstrap.min.css"
	rel="stylesheet">
<link href="<%=basePath%>bootstrap/css/style.css" rel="stylesheet">
</head>
<body>
	<div>
		<div class="bs-example">
			<table class="table table-striped table-hover">
				<thead>
					<tr>
						<th>#</th>
						<th>编号</th>
						<th>课程</th>
						<th>学分</th>
						<th>总学时</th>
						<th>上课班号</th>
						<th>上课人数</th>
						<th>已录制人数</th>
						<th>未录制人数</th>
						<th style="text-align: center" colspan="2">操作</th>

					</tr>
				</thead>
			
				<tbody>
				
							<input type="hidden" id="userNum" name="userNum"
							value="${loginedUsersBA.usernum }">
					<c:forEach items="${sessionScope.lstUsersTea }" var="eachUser"
						varStatus="st">
						<tr>
							<td>${st.index+1 }</td>
							<td>${eachUser.couid }</td>
							<td>${eachUser.couname }</td>
							<td>${eachUser.coucredit }</td>
							<td></td>
							<td></td>
							<td></td>
							<td></td>
							<td></td>
							<td><a href="UserTeaQueryStu?uid=${eachUser.couid }&opt=0">查看</a></td>

						</tr>
					</c:forEach>
				</tbody>
			</table>
		</div>
	</div>
	<script src="<%=basePath%>bootstrap/js/jquery.min.js"></script>
	<script src="<%=basePath%>bootstrap/js/bootstrap.min.js"></script>
	<script src="<%=basePath%>bootstrap/js/scripts.js"></script>
</body>



</html>